import React from 'react'
import { Button, ErrorBlock } from 'antd-mobile'
import { useNavigate } from 'react-router-dom'

function Index() {
    const nav = useNavigate()
    return (
        <div>
            <ErrorBlock fullPage >
                <a onClick={()=> nav(-1)}>返回上一页</a>
            </ErrorBlock>
        </div>
    )
}

export default Index
